Optimal. Leaf size=43 \[ -\frac{2 \cos (e+f x) \, _2F_1\left (\frac{1}{2},-n;\frac{3}{2};1-\sin (e+f x)\right )}{f \sqrt{\sin (e+f x)+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.047783, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {2776, 65} \[ -\frac{2 \cos (e+f x) \, _2F_1\left (\frac{1}{2},-n;\frac{3}{2};1-\sin (e+f x)\right )}{f \sqrt{\sin (e+f x)+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2776
Rule 65
Rubi steps
\begin{align*} \int \sin ^n(e+f x) \sqrt{1+\sin (e+f x)} \, dx &=\frac{\cos (e+f x) \operatorname{Subst}\left (\int \frac{x^n}{\sqrt{1-x}} \, dx,x,\sin (e+f x)\right )}{f \sqrt{1-\sin (e+f x)} \sqrt{1+\sin (e+f x)}}\\ &=-\frac{2 \cos (e+f x) \, _2F_1\left (\frac{1}{2},-n;\frac{3}{2};1-\sin (e+f x)\right )}{f \sqrt{1+\sin (e+f x)}}\\ \end{align*}
Mathematica [C] time = 0.408344, size = 186, normalized size = 4.33 \[ \frac{2^{1-n} e^{i (e+f x)} \left (-i e^{-i (e+f x)} \left (-1+e^{2 i (e+f x)}\right )\right )^{n+1} \sqrt{\sin (e+f x)+1} \left (i (2 n-1) \, _2F_1\left (1,\frac{1}{4} (2 n+3);\frac{1}{4} (3-2 n);e^{2 i (e+f x)}\right )+(2 n+1) e^{i (e+f x)} \, _2F_1\left (1,\frac{1}{4} (2 n+5);\frac{1}{4} (5-2 n);e^{2 i (e+f x)}\right )\right )}{f (2 n-1) (2 n+1) \left (e^{i (e+f x)}+i\right )} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.088, size = 0, normalized size = 0. \begin{align*} \int \left ( \sin \left ( fx+e \right ) \right ) ^{n}\sqrt{1+\sin \left ( fx+e \right ) }\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sin \left (f x + e\right )^{n} \sqrt{\sin \left (f x + e\right ) + 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sin \left (f x + e\right )^{n} \sqrt{\sin \left (f x + e\right ) + 1}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{\sin{\left (e + f x \right )} + 1} \sin ^{n}{\left (e + f x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sin \left (f x + e\right )^{n} \sqrt{\sin \left (f x + e\right ) + 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]